//
//  LoginService.h
//  xiaomaocuoyi
//
//  Created by 蔡舟 on 15/12/14.
//  Copyright © 2015年 com.xiaomaocuoyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol LoginServiceDelegate <NSObject>

@optional
-(void)getLoginUserSuccess:(NSString *)msg;
-(void)getLoginUserFail:(NSString *)msg;

-(void)getValidateNumSuccess;
-(void)getValidateNumFail;

@end

@interface LoginService : NSObject

-(void)getLoginUser:(NSMutableDictionary *)dic andView:(UIView *)view ;

-(void)getValidateNum:(NSMutableDictionary *)dic andView:(UIView *)view;

@property (nonatomic,strong)id<LoginServiceDelegate> delegate;

@end
